package com.lm.hutool.example;

import cn.hutool.captcha.CaptchaUtil;
import cn.hutool.captcha.CircleCaptcha;

public class HutoolCircleCaptchaExample {
    public static void main(String[] args) {
        // 创建圆圈干扰验证码
        CircleCaptcha captcha = CaptchaUtil.createCircleCaptcha(200, 100);
        System.out.println("验证码内容：" + captcha.getCode());
        captcha.write("circle_captcha.png");
        System.out.println("圆圈验证码图片已生成！");
    }
}
